let a = {};
for (let index = 0; index < 10; index++) {
    let b = Math.floor(Math.random() * 100)
    console.log(b);
    a += b

}
console.log(a)